package edu.lingnan.rili.utils;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 这是一个预定数据的获取
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Component
@PropertySource(value = "classpath:config/dataBeans.properties", encoding = "UTF-8")//解决中文乱码的问题
@ConfigurationProperties(prefix = "data")
public class ScheduledData {
    private String stateIdReject;//驳回
    private String stateIdAdopt;//通过
    private String stateIdNotApproved;//未审核
    private String uploadingTypeOtherBonusPoints;//其他加分上传类型
    private String uploadingTypeOtherGames;//其他比赛上传类型

    public String getStateIdReject() {
        return stateIdReject;
    }

    public void setStateIdReject(String stateIdReject) {
        this.stateIdReject = stateIdReject;
    }

    public String getStateIdAdopt() {
        return stateIdAdopt;
    }

    public void setStateIdAdopt(String stateIdAdopt) {
        this.stateIdAdopt = stateIdAdopt;
    }

    public String getStateIdNotApproved() {
        return stateIdNotApproved;
    }

    public void setStateIdNotApproved(String stateIdNotApproved) {
        this.stateIdNotApproved = stateIdNotApproved;
    }

    public String getUploadingTypeOtherBonusPoints() {
        return uploadingTypeOtherBonusPoints;
    }

    public void setUploadingTypeOtherBonusPoints(String uploadingTypeOtherBonusPoints) {
        this.uploadingTypeOtherBonusPoints = uploadingTypeOtherBonusPoints;
    }

    public String getUploadingTypeOtherGames() {
        return uploadingTypeOtherGames;
    }

    public void setUploadingTypeOtherGames(String uploadingTypeOtherGames) {
        this.uploadingTypeOtherGames = uploadingTypeOtherGames;
    }
}
